package com.oms.entities;

import java.util.*;
import java.sql.*;

public interface ItemDAO {
	
	public void addItem(Item item) throws SQLException;
	
	public void updateItem(long itemId, Item item) throws SQLException;
	
	public Item getItemById(long ItemId) throws SQLException;
	
	public Collection getAllItems() throws SQLException;
	
	public void deleteItem(Item item) throws SQLException;
	
	public Collection getItemsByName(Item item) throws SQLException;
	
	public Collection getItemsByDescription(Item item) throws SQLException;
	

}
